import http from '../utils/request.js'

// 获取美食列表
export const getfoodsList = (params) => {
	return http.get('/app/findAllfood', { params})
}

// 美食详情
export const foodsDeails = (params) => {
	return http.get('/app/findFood', {params})
}

// 查询餐厅 和模糊查询
export const getStoreList = (params) => {
	return http.get('/app/findAllRestaurant', {params}) 
}

// 获取餐厅详情
export const getFoodsDetails = (params) => {
	return http.get('/app/getRestBysId', {params})
}

// 餐厅评论
export const sendFoodCommments = (params) => {
	return http.post('/app/addFcomment', params)
}
